import { post } from "../../../utils/request";

// 获取推送应用下拉框数据
const getAppList = () => post("/push/getDropDownList", { element: "app" });

// 获取推送规则下拉框数据
const getRuleList = () =>
  post("/push/getDropDownList", { element: "pushRule" });

// 获取当前推送统计的搜索内容
const getDataList = data => post("/push/pushApplicationStatistics", data);

export default {
  getAppList,
  getRuleList,
  getDataList
};
